<!DOCTYPE html>
<html lang="en">
    <head>
        {include file="public/header"}
        <title>添加试卷</title>

    </head>
    <body>

        <div class="col-lg-12">
            <form id="form" class="form" role="form" action="insert" method="post">
                <div class="col-lg-6">
                    <div class="form-group">
                        <label>试卷名称</label>
                        <input class="form-control" type="text" name="name" value="">
                        <p class="help-block">输入少于30个中文字体的标题</p>
                    </div>
                    <div class="form-group">
                        <label>试卷类型</label>
                        <select class="form-control" name="type">
                            <option value="0">选择题（包括了多选题）</option>
                            <option value="1">问答计算代码题</option>
                        </select>
                    </div>
                    <div class="form-group">
                        <label for="所用时间">考试所需要的时间</label>
                        <input class="form-control" type="text" name="time" value="30">
                    </div>                            
                    <div class="form-group">
                        <label>备注（是什么试卷）</label>
                        <textarea class="form-control" name="mark"></textarea>
                    </div>
                </div>

            </form>
            <div class="col-lg-12">
                <button class="btn btn-primary" onclick="edu.submit('form',this)">确定</button>
            </div>

            <div class="clearfix"></div>
            {include file="public/plane"}
            {include file="public/javascript"}
            {include file="public/jqueryform"}
            <script type="text/javascript" src="/admin/script/paper/add.js"></script>
    </body>
</html>
